import static org.junit.Assert.*;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import java.util.Date;

public class test {
	private Person person;
	
	@BeforeClass
	public static void oneTimeSetUp() {
	System.out.println("@BeforeClass - oneTimeSetUp");
	}
	@AfterClass
	public static void oneTimeTearDown() {
	System.out.println("@AfterClass - oneTimeTearDown");
	}
	@Before
	public void setUp() {
	person = new Person("Test");
	
	System.out.println("@Before - setUp");
	}
	@After
	public void tearDown() {
	System.out.println("@After - tearDown");
	}
	@SuppressWarnings("deprecation")
	@Test
	public void birthdayTest() throws Exception {
		person.setBirthday(new Date(2012,5,6));
		assertTrue(person.hasBirthday(5));
		assertFalse(person.hasBirthday(6));
	}
}
